package d0309;

public class Bird {
    public void move(){
        System.out.println("飞翔");
    }
    public static void main(String args[]){
        Bird bird = new Penguin();
        Ostrich ostrich = new Ostrich();
        ostrich.move();
    }
}
